/*
** actions.h for  in /home/costa_k//rendulocal/cunix/philosophe/epi-philosophes
** 
** Made by kevin costa
** Login   <costa_k@epitech.net>
** 
** Started on  Wed May  4 17:12:40 2011 kevin costa
** Last update Wed May  4 17:14:12 2011 kevin costa
*/

#ifndef __ACTIONS_H_
# define __ACTIONS_H_

#include <pthread.h>
#include "philo.h"

pthread_mutex_t	lock;

t_philo *check_next(t_philo *philo);
void	donne(t_philo*, int);
void	*mange(void*);
void	*pense(void*);
void	*repos(void*);

#endif /* __ACTIONS_H_ */
